home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / NET / RAWV6.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  606b  |  28 lines

  1. #ifndef _NET_RAWV6_H
  2. #define _NET_RAWV6_H
  3.  
  4. #ifdef __KERNEL__
  5.  
  6. #define RAWV6_HTABLE_SIZE    MAX_INET_PROTOS
  7. extern struct sock *raw_v6_htable[RAWV6_HTABLE_SIZE];
  8.  
  9.  
  10. extern struct sock *raw_v6_lookup(struct sock *sk, unsigned short num,
  11.                   struct in6_addr *loc_addr, struct in6_addr *rmt_addr);
  12.  
  13. extern int            rawv6_rcv(struct sock *sk,
  14.                       struct sk_buff *skb, 
  15.                       unsigned long len);
  16.  
  17.  
  18. extern void            rawv6_err(struct sock *sk,
  19.                       struct sk_buff *skb,
  20.                       struct ipv6hdr *hdr,
  21.                       struct inet6_skb_parm *opt,
  22.                       int type, int code, 
  23.                       unsigned char *buff, u32 info);
  24.  
  25. #endif
  26.  
  27. #endif
  28.